<?php
include_once 'admin_global.php';            //加载后台统一调用类文件
$db->Get_user_shell_check($uid, $shell);    //检测用户是否登录
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>后台中部左侧菜单</title>
<link rel="stylesheet" href="css/left.css" type="text/css" />
<script src="js/jquery-1.12.4.min.js" type="text/javascript"></script>
<script>
   $(document).ready(function() {
       $("#firstpane div.left_menu_head").click(function()
       {
		  $(this).css({backgroundImage:""}).next("ul.left_menu_body").slideToggle(300).siblings("ul.left_menu_body").slideUp("slow");
       	  $(this).siblings().css({backgroundImage:""});
	   });
    });
</script>
</head>
<body>
<div id="left_bg">
   <div id="left_user">
      <div id="left_userpic"></div>
      <div id="left_userinfo">
          <div class="userinfo_txt"><span><?php echo $_SESSION['userName'];?></span>，您好！</div>
     </div>
   </div>
   <div class="left_menu" id="firstpane">
        <div class="left_menu_head"><p class="head_tt">基本设置</p></div>
        <ul class="left_menu_body">
           <li><a href="siteConfig.html" target="mainFrame" class="on">网站信息配置</a></li>
           <li><a href="addLinks.html" target="mainFrame">添加友情链接</a></li>
           <li><a href="listLinks.html" target="mainFrame">管理友情链接</a></li>
        </ul>
        <div class="clr"></div>
        
        <div class="left_menu_head"><p class="head_tt">管理员设置</p></div>
        <ul class="left_menu_body">
           <li><a href="addAdmin.php" target="mainFrame" class="on">添加管理员</a></li>
           <li><a href="listAdmin.php" target="mainFrame">管理员列表</a></li>
        </ul>
        <div class="clr"></div>
        
        <div class="left_menu_head"><p class="head_tt">栏目管理</p></div>
        <ul class="left_menu_body">
           <li><a href="addCate.php" target="mainFrame" class="on">添加栏目</a></li>
           <li><a href="listCate.php" target="mainFrame">管理栏目</a></li>
        </ul>
        <div class="clr"></div>
        
        <div class="left_menu_head"><p class="head_tt">文章管理</p></div>
        <ul class="left_menu_body">
           <li><a href="addNews.php" target="mainFrame" class="on">添加文章</a></li>
           <li><a href="listNews.php" target="mainFrame">管理文章</a></li>
           <li><a href="listMyNews.php" target="mainFrame">我发布的文章</a></li>
        </ul>
        <div class="clr"></div>
        
        <div class="left_menu_head"><p class="head_tt">系统管理</p></div>
        <ul class="left_menu_body">
           <li><a href="" target="mainFrame" class="on">清除缓存</a></li>
           <li><a href="logout.php" target="_top">系统退出</a></li>
        </ul>
        <div class="clr"></div>
   </div>

</div>
</body>
</html>
